import React,{useEffect} from "react";
export default function useIsLogin(){
    const haveToken = sessionStorage.getItem('token')
    return haveToken
}